package bonus;
import mainGame.ProgBob;

import com.golden.gamedev.object.Sprite;


public abstract class Bonus
{
    protected String name;
    protected Sprite icon;
    protected ProgBob progBob;
    protected Bonus next;

    public Bonus (ProgBob progBob, String name, Sprite icon)
    {
        this.progBob = progBob;
        this.name = name;
        this.icon = icon;
    }

    public abstract void act ();
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Sprite getIcon() {
		return icon;
	}

	public void setIcon(Sprite icon) {
		this.icon = icon;
	}

	public ProgBob getProgBob() {
		return progBob;
	}

	public void setProgBob(ProgBob progBob) {
		this.progBob = progBob;
	}

	public Bonus getNext() {
		return next;
	}

	public void setNext(Bonus next) {
		this.next = next;
	}	
}
